package cn.mugutu.webrtc.websocket.result;

import java.util.HashMap;
import java.util.Map;

/**
 * 基本消息通知操作是否成功
 * @author gan
 *
 */
public class BaseMsg {

	private boolean success;
	private String msg;
	// 其他参数
	private Map<String, String> params = new HashMap<String, String>();
	
	public BaseMsg(boolean success, String msg) {
		this.success = success;
		this.msg = msg;
	}
	
	public boolean isSuccess() {
		return success;
	}
	public void setSuccess(boolean success) {
		this.success = success;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public Map<String, String> getParams() {
		return params;
	}
	public void setParams(Map<String, String> params) {
		this.params = params;
	}
	
}
